package com.easytopit.demo.lianxi.service;

import com.easytopit.demo.lianxi.exception.BizException;
import com.easytopit.demo.lianxi.user.User;

public interface UserService {
	
	/**
	 * 添加
	 * @param user
	 * @return
	 */
	public Integer insert(User user) throws BizException;
	
	/**
	 * 修改
	 * @param name
	 * @param passwd
	 * @param phone
	 * @param age
	 * @param sex
	 * @return
	 * @throws BizException 
	 */
	public boolean amend(Integer id, String name, String passwd, String phone, String age) throws BizException, BizException;

	
}
